gl backend: Add line numbers to source in glsl compilation errors
authorAlexander Larsson <alexl@redhat.com>
Mon, 21 Sep 2020 13:14:40 +0000 (15:14 +0200)
committerAlexander Larsson <alexl@redhat.com>
Tue, 29 Sep 2020 07:51:16 +0000 (09:51 +0200)
commit9460d0131f3ce4c647d455a1633f25c65c850fc9
tree5fba91bae335717a722fd034182039d57ce6f77c
parent7edcd1748c9a4389c64a26f048f127f57de3285b
gl backend: Add line numbers to source in glsl compilation errors

Almost always the source is created by combining various sources, which
means the line numbers in the error messages are hard to use. Adding
the line numbers to the source in the error message helps with this.
gsk/gl/gskglshaderbuilder.c